home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Phreaking⁄Wardialers / Tone Generators / QuickTone4.3 / QuickTone Docs < prev   
Text File  |  1994-08-05  |  11KB  |  269 lines

  1. Intro to QuickTone -- The Nearly Universal Tone Generation Stack
  2. ================================================================
  3.  
  4. By QuickSilver
  5.    (a.k.a Quickie)
  6. (quickie@phantom.com)
  7.  
  8.  
  9.  
  10. History
  11. -------
  12.  
  13. I created this stack way back when I first read of blue boxing.
  14. Mind you, the article I read was from 1983 or something, and it was
  15. 1992 at the time. I thought, "Wow! I'm going to make up these sounds
  16. in SoundEdit and put them in a stack so I can be really K-Rad!"
  17.  
  18. Heh, that blue boxing never worked, strangely. Wonder why...
  19.  
  20. In any case, this stack has evolved over time into something Much
  21. Better than the original. At one point I tried working some sort
  22. of autodialing into it, using a "autodial language". It never really
  23. worked well so I took it out. In it's place I added something genius
  24. -- using the keypad. Great idea. I love it.
  25.  
  26. Some other time I also added redbox tones and buttons. The component
  27. tones of the various multifrequency tones have been there from the
  28. start.
  29.  
  30. Scanning and random numbers was something else added. I was trying
  31. break into a friends answering machine one day and thought about the
  32. stack. So it will scan 00-99 in DTMF or MF. (if you look at the 
  33. actual code in the card script you will see that with a bit of
  34. uncommenting, you can scan 000-999 or 0000-9999, if you want to.)
  35. Random number dialing was just something I added while I was done
  36. with the scanning part.
  37.  
  38. After I was done with the random stuff, I decided that it would be
  39. helpful if the stack automatically produced the correct coin tones
  40. for a certian number of cents. So that was added.
  41.  
  42. After that I redesigned the layout of the stack and made it reflect
  43. the CCITT-5 grid. In this form I finally got around to posting it and
  44. upoading it to the net, and wrote this document. This would be called version3.0. It's the first I've released.
  45.  
  46. A few days ago I copied the call progress sounds into the stack and
  47. added the buttons for them. Struggled with the code to make it loop
  48. continuosly and stop when the mouse was released. Never released.
  49. Could be called v.3.5
  50.  
  51. Most recently (today) I added the Greenbox tones and fixed up the code
  52. for the call progress buttons. Having it do what I wanted it to was
  53. Impossible With This Setup. So now you get a few seconds of dialtone,
  54. 5 reorder cycles, 2 busy cycles, and 1 ring (all have delay at the end,
  55. so if you hit the button again while it's playing it will essentialy
  56. loop and you'll hear it again right away. I'm about to compact it and
  57. binhex it for distribution. We'll call it version 4.0.
  58.  
  59. Now the op can't tell if you are using this for a redbox. Not only is
  60. the spacing between the coins random, but so is the quantity of each
  61. coin and the order in which they are played... Cool... v.4.3
  62.  
  63. Have fun with it. I am not responsible for any misuse of the stack for
  64. fraud, blackmail, theft of service, theft of money, theft of meat,
  65. battery, rape, robbery, buglary, wiretapping, use of improper hand
  66. signals, connection of an unregistered device, use of frequencies you
  67. are not licensed for, or any other criminal behavior.
  68.  
  69.  
  70.  
  71. Notes
  72. -----
  73.  
  74. All of the sounds in the stack were created using SoundEdit 1.0 as
  75. included with the MacRecorder long ago. If not for its cool "Tone
  76. Generator" and mixing, this stack would not be here.
  77.  
  78. It took me hours to create, mix, and individually save all of those
  79. sounds. Extract them and use them if you want. I don't want others to
  80. have to go through what I did. (now THAT'S a fresh perspective from
  81. a software author, huh?)
  82.  
  83. How to get the tones into a phone line? Here is an excerpt from Phrack
  84. issue 39 about making an interface.
  85.  
  86.  AUDIO LINKS
  87.  ~~~~~~~~~~~
  88.  By Mr. Upsetter
  89.  
  90. It all started with my Macintosh...
  91.  
  92. Some time ago I had this crazy idea of connecting the output from the
  93. audio jack of my Macintosh to the phone line.  Since the Macintosh has
  94. built in sound generation hardware, I could synthesize any number of
  95. useful sounds and play them over the phone.  For instance, with a sound
  96. editing program like SoundEdit, it is easy to synthesize call progress
  97. tones, DTMF and MF tones, red box, green box, and other signalling tones. [[imagine that! BTW, I read this article much after I created the stack- Quickie]]  So I set out to do exactly this. I created a set of synthesized
  98. sounds as sound resources using SoundEdit.  Then I wrote a HyperCard stack
  99. for the purpose of playing these sounds.  Now all I needed was a circuit
  100. to match the audio signal from the headphone jack of my Mac to the phone
  101. line.
  102.  
  103.  
  104.  How The Circuit Works
  105.  ~~~~~~~~~~~~~~~~~~~~~
  106. I designed a simple passive circuit that does the job quite well.  Here is the
  107. schematic diagram.
  108.  
  109.             +------+                       T1      +------+
  110.       o-----|  R1  |-----o------o--------(| |)-----|  C1  |-----o-----o
  111.             +------+    +|     -|        (| |)     +------+     |
  112.                        +---+  +---+      (| |)                +---+
  113.     to Mac             | D |  | D |   8  (| |) 500            |VR |   to
  114.    headphone           | 1 |  | 2 |  ohm (| |) ohm            | 1 |  phone
  115.      jack              +---+  +---+      (| |)                +---+  line
  116.                         -|     +|        (| |)                  |
  117.       o------------------o------o--------(| |)------------------o-----o
  118.  
  119. C1-.22 uF, 200V
  120. D1,D2- 1N4148 switching diode
  121. R1-620 ohm, 1/4W
  122. T1- 8 ohm to 500 ohm audio transformer, Mouser part 42TL001
  123. VR1-300V MOV, Mouser part 570-V300LA4
  124.  
  125. VR1 is a 300V surge protector to guard against transient high voltages.
  126. Capacitor C1 couples the phone line to transformer T1, blocking the phone
  127. line's DC voltage but allowing the AC audio signal to pass.  The transformer
  128. matches the impedance of the phone line to the impedance of the headphone jack.
  129. Diodes D1 and D2 provide clipping for additional ringing voltage protection
  130. (note their polarity markings in the schematic).  They will clip any signal
  131. above 7 volts.  Resistor R1 drops the volume of the audio signal from the Mac
  132. to a reasonable level.  The end result is a circuit that isolates the Mac from
  133. dangerous phone line voltages and provides a good quality audio link to the
  134. phone line.
  135.  
  136.  
  137.  Building and Using the Circut
  138.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139. This simple circuit is easy to build (if you're handy with electronics).  I
  140. personally prefer to solder the circuit together.  A length of shielded audio
  141. cable with a 1/8 inch mono plug on one end should be connected to the audio 
  142. input end of the circuit.  A standard RJ11 phone jack should be connected to
  143. the phone line end of the circuit.   Although this circuit will protect against
  144. dangerous phone line voltages, it is best to disconnect it when not in use.
  145. You just don't want to risk anything bad happening to your brand new Quadra
  146. 900, right?
  147.  
  148. Once you have an audio link between your Mac and the phone line, the
  149. applications are limitless.  Use HyperCard's built-in DTMF dialing to dial for
  150. you, or build a memory dialer stack.  Talk to people with Macintalk.  Play your
  151. favorite Ren and Stimpy sounds for your friends.  Play a ringback tone to
  152. "transfer" people to an "extension".  Build and use a set of synthesized MF
  153. tones.  Try to trick COCOT's with synthesized busy and reorder signals.
  154.  
  155.  
  156.  But Wait, There Is More...
  157.  ~~~~~~~~~~~~~~~~~~~~~~~~~~
  158. So you say you don't own a Macintosh?  That is ok, because the circuit can be
  159. used with other devices besides your Mac.  You can use it with the 8 ohm
  160. headphone output from tape recorders, radios, scanners, etc.  You could also
  161. probably use it with any other computer as long as you had the proper audio D/A
  162. hardware and software to create sounds.
  163.  
  164. All parts are available from Mouser Electronics.  Call 800-346-6873 for a free
  165. catalog.
  166.  
  167.  
  168. If you are looking for the scripts...
  169. -------------------------------------
  170.  
  171. There are none in the buttons, except to call other scripts. It's all in the
  172. card script. That's just part of my zany programming style. There's also
  173. nothing in the stack script or the background script either, so don't look.
  174.  
  175. User Manual and some stuff
  176. ==========================
  177.  
  178. This stack is simple to use. To play a tone, click on its button. To scan, hit
  179. "scan". for random tones, "Random". The "MF" and "DTMF" radio buttons 
  180. determine which set of tones is used.
  181.  
  182. I compared notes with someone recently and found that some of my tones might
  183. be wrong. If you know, e-mail me and give me the corrections. As far as I
  184. know this is correct.
  185.  
  186. CCITT 5
  187. -------
  188. 0-9 - Duh
  189. KP - Key Pulse
  190. ST - Stop
  191. KP2 - Key Pulse 2 (for international use)
  192. Code 11, 12 - For international use
  193.  
  194. DTMF
  195. ----
  196. 0-9,*,# - Duh
  197. A - (FO) Flash Override \
  198. B - (F) Flase           | These were originally designed for military Autovon
  199. C - (I) Immediate       | network priority signalling. A FO is most urgent,
  200. D - (P) Prioity         / P is the least.
  201.  
  202. Signalling
  203. ----------
  204. 2600 - You should know
  205. 3700 - Similar to 2600 on some systems
  206. 1004 - Tone that loop gives
  207. Drop - 2400+2600
  208.  
  209. Redbox
  210. ------
  211. 5c - Tone that coin stations make when you drop a nickle into them
  212. 10c - ditto, Dime
  213. 25c - ditto, Quarter
  214. Coins - Asks for number of cents you need, determines number of coins needed,
  215.         dials them. Status displayed in message box. Randomizes wait between 
  216.         coins in order to fool ACTS or operator.
  217.  
  218. Scan, Random
  219. ------------
  220. Scan - Scans 00-99 in current toneset. Use to get into phone answering
  221.        machines. With a little uncommenting on the source, you can make it
  222.        scan 000-999 or 0000-9999.
  223. Rnd - Dials random DTMF tones (all 16 of them) or MF tones (0-9).
  224.  
  225. Call Progress
  226. -------------
  227. DT - simulates dial tone
  228. Busy - Simulates busy tone
  229. Ring - Simulates ringback
  230. Reord - Simulates reorder (toll congestion or switch fucked up)
  231.  
  232. Greenbox
  233. --------
  234. These play a half second of 900+1500 as an operator release before sending
  235. the actual tone
  236.  
  237. Ret - Coin return
  238. Coll - Coin collect
  239. RgBk - Coin station ringback
  240. Wink - 90ms of 2600 (may be necessary to get these to work)
  241.  
  242.  
  243.  
  244. The keypad can be used for dialing by checking "use keypad". In this mode,
  245. you use the period key to switch between DTMF and MF.
  246.  
  247. key    DTMF   MF
  248. ----------------
  249. 0      0      0
  250. 1      1      1
  251. 2      2      2
  252. 3      3      3
  253. 4      4      4
  254. 5      5      5
  255. 6      6      6
  256. 7      7      7
  257. 8      8      8
  258. 9      9      9
  259. Clear  A      2600
  260. =      B      Code 11
  261. /      C      Code 12
  262. *      D      KP2
  263. -      *      ST
  264. +      #      KP2
  265. .      Toggle DTMF/MF
  266. Enter  Give error message regarding trying to parse the strange numerals and
  267.        stuff you put in the message box by dialing with the keypad. -- Yes,
  268.        even though the script dials with the keypresses, they are still
  269.        typed into the message box through the magic of "pass keyDown".